package com.intellagric.pojo;

import java.io.Serializable;
import java.util.List;

public class SysDictionary implements Serializable {
    private String id;

    private String name;

    private String value;

    private String label;

    private String type;

    private String zhType;

    private String description;

    private Integer sort;

    private String parentId;

    //关联数据
    private List<SysDictionary> children;

    public List<SysDictionary> getChildren() {
        return children;
    }

    public void setChildren(List<SysDictionary> children) {
        this.children = children;
    }

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value == null ? null : value.trim();
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getZhType() {
        return zhType;
    }

    public void setZhType(String zhType) {
        this.zhType = zhType == null ? null : zhType.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }
}